import requests
from day01.config.config import BASE_URL
def get(endpoint):
    url = BASE_URL+endpoint
    response = requests.get(url)
    return response

def post(endpoint,data):
    url = BASE_URL+endpoint
    response = requests.post(url,json=data)
    return response